<!--  Страница создания записи -->

{{#extends @html/community/base.html}}

{{:title}}{{?edit_mode}}Отредактировать запись{{?:}}Добавить запись{{/?}}{{/:title}}

{{:community_body}}

	{{!connect 'decoration/form/common.css'}}
	{{!connect 'decoration/community/add.css'}}

	{{!connect 'jplugins/jquery.autocomplete.js'}}
	{{!connect 'jplugins/jquery.autocomplete.css'}}

	{{!connect 'createitem/author.js'}}
	<link rel="person_suggest" href="{{/}}{{community.url}}/person/suggest"/>


	{{@html/layout/layout_4.html column_one=@:column_one}}

	{{:column_one}}
		<div class="container add">
			<div class="bg1-"></div>
			<div class="bg2-"></div>
			<div class="bg3-"></div>
			<div class="bg4-"></div>
			<h1 class="title-">{{?edit_mode}}Отредактировать запись{{?:}}Добавить запись{{/?}}</h1>
			<div class="container-content-">
				<div class="community-add-">
				{{?error_message}}<div class"erorrmsg-common- content"><p>{{error_message|safe}}</p></div>{{/?}}
					<div class="formhandler- form-common">
					{{formcontent|safe}}
					{{:Plain}}{{content}}{{/:Plain}}
					{{:MetaGroup}}<div class="meta-">{{content}}</div>{{/:MetaGroup}}
					{{:DTGroup}}<div class="main-">{{content}}</div>{{/:DTGroup}}
					</div>
				</div>
				
				<div class="user-">
					<p class="date-">{{now | date '%d %M, %H:%i'}}</p>
					<a href="{{user.url}}"><img src="{{user.avatar.path_to_orig | thumb filter='smart' w=48 h=48}}" width="48" height="48" alt="" /></a>
					<a class="name-" href="{{user.url}}">{{user.fullname}}</a>
				</div>
			</div>

			

		</div>
		<br clear="all" />

	{{/:column_one}}

{{/:community_body}}
